projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7839c27
)
GtkEntryCompletion: add a sanity check
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 1 Jun 2011 00:07:14 +0000
(20:07 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 1 Jun 2011 00:07:14 +0000
(20:07 -0400)
Patch by John Lindgren,
https://bugzilla.gnome.org/show_bug.cgi?id=650110
gtk/gtkentrycompletion.c
patch
|
blob
|
history
diff --git
a/gtk/gtkentrycompletion.c
b/gtk/gtkentrycompletion.c
index 41f707f4325613fe131c4384285d2e615ee220d1..b88fa802f3b72fcc3ef13e394f3c4f23eec7d63f 100644
(file)
--- a/
gtk/gtkentrycompletion.c
+++ b/
gtk/gtkentrycompletion.c
@@
-1263,6
+1263,7
@@
gtk_entry_completion_complete (GtkEntryCompletion *completion)
gchar *tmp;
g_return_if_fail (GTK_IS_ENTRY_COMPLETION (completion));
+ g_return_if_fail (GTK_IS_ENTRY (completion->priv->entry));
if (!completion->priv->filter_model)
return;